package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 邮箱配置对象 sys_email_config
 * 
 * @author ruoyi
 * @date 2022-09-24
 */
public class SysEmailConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 发件箱 */
    @Excel(name = "发件箱")
    private String account;

    /** 密码 */
    @Excel(name = "密码")
    private String pwd;

    /** POP3 */
    @Excel(name = "POP3")
    private String pop3;

    /** SMTP */
    @Excel(name = "SMTP")
    private String smtp;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPwd(String pwd) 
    {
        this.pwd = pwd;
    }

    public String getPwd() 
    {
        return pwd;
    }
    public void setPop3(String pop3) 
    {
        this.pop3 = pop3;
    }

    public String getPop3() 
    {
        return pop3;
    }
    public void setSmtp(String smtp) 
    {
        this.smtp = smtp;
    }

    public String getSmtp() 
    {
        return smtp;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("account", getAccount())
            .append("pwd", getPwd())
            .append("pop3", getPop3())
            .append("smtp", getSmtp())
            .append("state", getState())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
